
// This class loads a fsm script and creates state objects.
// it also populates the transition table of an fsm

#ifndef FSMSCRIPT_H
#define	FSMSCRIPT_H

#include "FSM.h"
#include "State.h"
#include "Actor.h"

class FSMScript
{
public:	

	FSM		*	pCurrentFSM;

	FSMScript(void);
	~FSMScript(void);

	void Load(char* _szFileName, FSM* _pFSM);

	int GetStateId(char* stateName, vector<char*> *stateNames);
	Event::EventId GetEventId(char* eventName);
};

#endif
